@extends('base.head')
@section('sidemenu')
<div class="d-flex" id="wrapper">
    <!-- Sidebar -->
    <div class="bg-light border-right" id="sidebar-wrapper">
        <div class="sidebar-heading">Навигация</div>
        <div class="list-group list-group-flush">
            @foreach($links as $link)
                <a href="{{ $link['href'] }}" class="list-group-item list-group-item-action bg-light">{{ $link['text'] }}</a>
            @endforeach
        </div>
    </div>
    <div id="page-content-wrapper">
        <nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
            <button class="btn btn-primary" id="menu-toggle"><span class="navbar-toggler-icon"></span></button>
        </nav>
        <div class="container-fluid">
           @yield('content')
        </div>
    </div>
</div>
@endsection
